﻿//===============================================================================
// La Pomme d'Or Krystal Application
// Windows Presentation Foundation Composite Application 
//===============================================================================
// Copyright (c) Jérôme Piquot.  All rights reserved.
// THIS CODE AND INFORMATION IS PROVIDED "AS IS" WITHOUT WARRANTY
// OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT
// LIMITED TO THE IMPLIED WARRANTIES OF MERCHANTABILITY AND
// FITNESS FOR A PARTICULAR PURPOSE.
//===============================================================================
// The example companies, organizations, products, domain names,
// e-mail addresses, logos, people, places, and events depicted
// herein are fictitious.  No association with any real company,
// organization, product, domain name, email address, logo, person,
// places, or events is intended or should be inferred.
//===============================================================================

using PJ.Data.Inventory;

namespace PJ.Data.SalePurchase
{
    /// <summary>
    /// Shopping cart item
    /// </summary>
    public interface IInvoiceItemData : IOrderedFragmentData
    {
        /// <summary>
        /// <see cref="IInventoryItemData">Inventory item</see> Id
        /// </summary>
        string InventoryItemId { get; set; }

        /// <summary>
        /// Description
        /// </summary>
        string Description { get; set; }

        /// <summary>
        /// Quantity
        /// </summary>
        double Quantity { get; set; }

        /// <summary>
        /// Item quantity <see cref="IUnitData">Unit</see> Id
        /// </summary>
        string UnitId { get; set; }

        /// <summary>
        /// Price
        /// </summary>
        double Price { get; set; }

        /// <summary>
        /// Price
        /// </summary>
        double Discount { get; set; }

        /// <summary>
        /// Total
        /// </summary>
        double Total { get; set; }

    }
}
